package com.educate.studentmanagementsystem.pojo.entity;


public class SchoolClass {
    private Integer classId;
    private String name;
    private Integer headTeacher;
    private String grade;

    public SchoolClass() {
    }

    public SchoolClass(Integer classId, String name, Integer headTeacher, String grade) {
        this.classId = classId;
        this.name = name;
        this.headTeacher = headTeacher;
        this.grade = grade;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getHeadTeacher() {
        return headTeacher;
    }

    public void setHeadTeacher(Integer headTeacher) {
        this.headTeacher = headTeacher;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "Class{" +
                "classId=" + classId +
                ", name='" + name + '\'' +
                ", headTeacher=" + headTeacher +
                ", grade='" + grade + '\'' +
                '}';
    }
}
